import axios from '@/libs/request'
// 资金接口
// 项目资金新增接口
export const insert = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstSalaryAnnualProjectFundService/insert',
    data: data,
    type: 'post'
  })
}
// 监管类资金新增接口
export const superviseinsert = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstSalarySuperviseService/insert',
    data: data,
    type: 'post'
  })
}
// 项目资金列表接口
export const selectByPage = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstSalaryAnnualProjectFundService/selectByPage',
    data: data,
    type: 'post'
  })
}
// 查询单条
export const selectById = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstSalaryAnnualProjectFundService/selectById',
    data: data,
    type: 'post'
  })
}
// 修改接口
export const projectUpdate = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstSalaryAnnualProjectFundService/update',
    data: data,
    type: 'post'
  })
}
// 删除接口
export const projectDelete = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstSalaryAnnualProjectFundService/delete',
    data: data,
    type: 'post'
  })
}
// // 保存创建数据接口
export const saveData1 = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstGovBaseService/insertSstGovBase',
    data: data,
    type: 'post'
  })
}
// // // 点击创建事项接口
export const createItem = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstGovBaseService/updateSstGovBase',
    data: data,
    type: 'post'
  })
}
// // 点击编辑事项接口
export const editItem = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstGovBaseService/selectCapitalById',
    data: data,
    type: 'post'
  })
}

// 监管类资金列表接口
export const superviseselectByPage = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstSalarySuperviseService/selectByPage',
    data: data,
    type: 'post'
  })
}
// 监管类资金修改接口
export const supervisesupdate = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstSalarySuperviseService/update',
    data: data,
    type: 'post'
  })
}
// 监管类资金删除接口
export const supervisesdelete = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstSalarySuperviseService/delete',
    data: data,
    type: 'post'
  })
}
// 监管类资金更新填报状态
export const superupdateFillState = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstSalarySuperviseService/updateFillState',
    data: data,
    type: 'post'
  })
}
// 项目资金修改填报状态
export const updateFillState = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstSalaryAnnualProjectFundService/updateFillState',
    data: data,
    type: 'post'
  })
}
export const selectOK = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstSalarySuperviseService/selectById',
    data: data,
    type: 'post'
  })
}
// // 获取单个基础信息
// export const selectSstGovBaseById = (data) => {
//   return axios.request({
//     url: '/api/ac/setting/sstGovBaseService/selectSstGovBaseById',
//     data: data,
//     type: 'post'
//   })
// }
// // 修改基础
// export const updateSstGovBase = (data) => {
//   return axios.request({
//     url: '/api/ac/setting/sstGovBaseService/updateSstGovBase',
//     data: data,
//     type: 'post'
//   })
// }
